// 顾客下单模版
export const parseOrderSubscribe = (req,res,next) => {
  const {orderNum,orderContent,receiverPhone,contactName,location} = req.body
  req.middleSubscribeData = {
    priTmplId: 'K2-28ht2Eb_QXGTF4wIIyhvb63uSZYzbeWZzAMUMSLY',
    data: {
      number2: {value: orderNum}, //订单编号
      thing11: {value: orderContent}, //订单信息
      phone_number: {value: receiverPhone}, //收货人手机
      name7: {value: contactName}, //联系人姓名
      thing33: {value: location}, //目的地
    }
  }
  next()
} 